﻿using Md.Api.Model.Manage.MdNavigation.Request;
using Md.Dapper.Repositories.Md;

namespace Md.Api.Service.Manage.MdNavigation;
/// <summary>
/// 通过编号删除网站导航服务
/// </summary>
public class DeleteMdNavigationByIdService : ApiBase<RequestDeleteMdNavigationByIdModel>
{
    /// <summary>
    /// 网站导航仓储
    /// </summary>
    public MdNavigationRep mdNavigationRep { get; set; }
    /// <summary>
    /// 执行
    /// </summary>
    protected override void ExecuteMethod()
    {
        var res = mdNavigationRep.DeleteMdNavigationById(Parameter.Ids);

        Result.Data = res;
    }
}

